package com.ykq.dao;

import com.ykq.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmpDao {
    int deleteByPrimaryKey(Integer empid);

    int insert(Emp record);

    int insertSelective(Emp record);

    Emp selectByPrimaryKey(Integer empid);

    int updateByPrimaryKeySelective(Emp record);

    int updateByPrimaryKey(Emp record);

    List<Emp> selectAll();

    /**
     * 按照条件查询用户信息
     * @param empName
     * @param email
     * @return
     */
    List<Emp> selectEmpByCondition(@Param("empName")String empName,@Param("email")String email,@Param("did")String did);

}